export default {
  state: {
    teamList: [],
    announcementList: []
  },
  mutations: {
    SET_TEAM_LIST (state, teamList) {
      state.teamList = teamList
    },
    SET_ANNOUNCEMENT_LIST (state, announcementList) {
      state.announcementList = announcementList
    }
  },
  actions: {
    setTeamList ({ commit }, teamList) {
      commit('SET_TEAM_LIST', teamList)
    },
    setAnnouncementList({ commit }, announcementList) {
      commit('SET_ANNOUNCEMENT_LIST', announcementList)
    }
  }
}